package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum SesameSeedQuotaEnum implements IBaseEnum<Integer> {

    /**
     * 芝麻分额度 0.无要求 1.额度600分以下 2.额度600-650分 3.额度651-700分 4.额度700分以上
     */
    NO_REQUIRED(0, "无要求",false),
    ABOVE550(1, "<600",false),
    ABOVE600(2, "600-650",false),
    ABOVE650(3, "651-700",true),
    ABOVE700(4, ">700",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;

    SesameSeedQuotaEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
